home *** CD-ROM | disk | FTP | other *** search
- /*
- * register.h
- * Structure of the regster file.
- *
- * Copyright (c) 1996 Systems Architecture Research Centre,
- * City University, London, UK.
- *
- * See the file "license.terms" for information on usage and redistribution
- * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- *
- * Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
- */
-
- #ifndef __register_hh
- #define __register_hh
-
- #include "gtypes.h"
- #include "instruction.h"
-
- extern nativeReg registerFile[];
-
- #define MAXSTACK 99999
-
- struct _methods;
-
- void initRegisters(void);
- void allocateRegisters(struct _methods*);
- void readRegister(operand*);
- void writeRegister(operand*);
- void syncRegisters(void);
-
- #endif
-